﻿using System.Web.Mvc;
using ZBJF.Warranty.WebProvider.Filter;

namespace ZBJF.Warranty.H5
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new ControllerErrorLogExceptionAttribute());
            filters.Add(new LoginFilterAttribute { IsCheck = true });
            filters.Add(new WeiXinLoginFilterAttribute { CheckLogin = false });
        }
    }
}
